package com.scy.java.object.abstractTest;
//几何图形抽象类
public abstract class Shape {
    int width;//图形的长
    int height;//图形的宽

    public Shape(int width, int height) {
        this.width = width;
        this.height = height;
    }
    //定义抽象方法
    public abstract double area();
}
